package main

import "fmt"

func main() {
	v := interface{}(byte(127))
	switch t := v.(type) {
	// case uint8, uint16:
	case uint16:
		fmt.Println("uint8 or uint16")
	case byte:
		fmt.Println("byte")
	default:
		fmt.Printf("%T\n", t)
	}
}